package com.jic.order.rest.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ProductCommentRestResponse {

	@ApiModelProperty(notes = "id")
	private long id;
	@ApiModelProperty(notes = "父级id")
	private long pid;
	@ApiModelProperty(notes = "类型 0:评论 1:追评")
	private Integer type;
	@ApiModelProperty(notes = "评论内容")
	private String content;
	@ApiModelProperty(notes = "评价星级")
	private Integer startNum;
	@ApiModelProperty(notes = "置顶状态 0:未置顶 1:已置顶")
	private Integer stickyStatus;
	@ApiModelProperty(notes = "图片列表")
	private Object fileList;
	@ApiModelProperty(notes = "children追评")
	private List<ProductCommentRestResponse> children;

}
